package com.yj.suncity.bean;

import org.json.JSONObject;

public class OfferBean {

	private String oid;// ": "20adb8df-69a5-4dab-bbda-dec6ffacf5e5",
	private String userid;
	private String ent_logo;// ": "/upload/201504/13/201504132026338520.png",
	private String silver_total;// ": "9975",
	private String offer_content;// ": "fghvcgh",
	private String offer_givenum;// ": "0",
	private String end_datetime;// ": "1429718400",
	private String offer_num;// ": "2"
	
	
	private String id;//": "d18e08e6-8762-4088-965d-9ea8b6f1426d",
	private String hold_type;//": "1",
	private String table_id;//": "d18e08e6-8762-4088-965d-9ea8b6f14123",
	private String task_name;//": "测试标题",
	private String hold_userid;//": "654321",
    private String hold_datetime;//": "1428595200",
    private String hold_username;//": "亮亮",
    private String is_finish;//": "1",
    private String finish_datetime;//": "1428854400",
    private String silver_num;//": "10"







	public String getUId() {
		return id;
	}

	public String getUHold_type() {
		return hold_type;
	}

	public String getUTable_id() {
		return table_id;
	}

	public String getUTask_name() {
		return task_name;
	}

	public String getUHold_userid() {
		return hold_userid;
	}

	public String getUHold_datetime() {
		return hold_datetime;
	}

	public String getUHold_username() {
		return hold_username;
	}

	public String getUIs_finish() {
		return is_finish;
	}

	public String getUFinish_datetime() {
		return finish_datetime;
	}

	public String getUSilver_num() {
		return silver_num;
	}
	
	

	public String getUserid() {
		return userid;
	}

	public String getId() {
		return id;
	}

	public String getHold_type() {
		return hold_type;
	}

	public String getTable_id() {
		return table_id;
	}

	public String getTask_name() {
		return task_name;
	}

	public String getHold_userid() {
		return hold_userid;
	}

	public String getHold_datetime() {
		return hold_datetime;
	}

	public String getHold_username() {
		return hold_username;
	}

	public String getIs_finish() {
		return is_finish;
	}

	public String getFinish_datetime() {
		return finish_datetime;
	}

	public String getSilver_num() {
		return silver_num;
	}

	public OfferBean(JSONObject json) {
		this.oid = json.optString("oid");
		this.ent_logo = json.optString("ent_logo");
		this.silver_total = json.optString("silver_total");
		this.offer_content = json.optString("offer_content");
		this.offer_givenum = json.optString("offer_givenum");
		this.end_datetime = json.optString("end_datetime");
		this.offer_num = json.optString("offer_num");
		this.userid=json.optString("userid");
		
		
		
		this.id = json.optString("id");
		this.hold_type = json.optString("hold_type");
		this.table_id = json.optString("table_id");
		this.task_name = json.optString("task_name");
		this.hold_userid = json.optString("hold_userid");
		this.hold_datetime = json.optString("hold_datetime");
		this.hold_username = json.optString("hold_username");
		this.is_finish = json.optString("is_finish");
		this.finish_datetime = json.optString("finish_datetime");
		this.silver_num = json.optString("silver_num");
	}

	public String getOid() {
		return oid;
	}

	public String getEnt_logo() {
		return ent_logo;
	}

	public String getSilver_total() {
		return silver_total;
	}

	public String getOffer_content() {
		return offer_content;
	}

	public String getOffer_givenum() {
		return offer_givenum;
	}

	public String getEnd_datetime() {
		return end_datetime;
	}

	public String getOffer_num() {
		return offer_num;
	}

}
